package cn.lyj.study.service;

import cn.lyj.study.pojo.Business;
import cn.lyj.study.util.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

@Service
public interface BusinessService {

    PageInfo<Business> getBusiness(@Param("currentPage") int currentPage, @Param("pageSize") int pageSize);

    boolean addBusiness(Business business);

    boolean updateBusiness(Business business);

    boolean delectBusiness(@Param("businessId") int businessId);
}
